﻿#region

using FluentNHibernate.Mapping;

#endregion

namespace MediaSage.Lib.Database
{
    public class FileSystemMap : ClassMap<FileSystemEntity>
    {
        #region Constructors

        public FileSystemMap()
        {
            Table("FileSystemScan");
            Id(x => x.ID).GeneratedBy.GuidComb().UnsavedValue("00000000-0000-0000-0000-000000000000");
            Map(x => x.directory);
            Map(x => x.lastScan).Nullable();
            Map(x => x.recurse);
        }

        #endregion Constructors
    }
}